/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ihm.actions;

import javax.swing.AbstractAction;
import java.awt.event.*;
import com.ihm.*;

/**
 *
 * @author sylverster
 */
public class VisualisationCarteAction extends AbstractAction {
    
    String Titre;
    String ID;
    
    public VisualisationCarteAction(String texte, String id) {
        super(texte);
        ID=id;
        Titre=texte;
    }
    
    @Override
    public void actionPerformed(ActionEvent e) { 
       CarteFenetre fenetre = new CarteFenetre(Titre,ID);
    } 
    
}
